#ifndef _SERVERREGION_
#define	_SERVERREGION_

#include "Scripting/ScriptableVector.hpp"
#include "Scripting/Scriptable.hpp"
#include "Objects/Region.hpp"
#include "Character.hpp"
#include <vector>

/**
 * Region implementation in a Server.
 */
class ServerRegion:public Region{
friend class ServerRegionManager;
public:
    
    /** List of entities in this Region. */
    ScriptableVector entities;
    
	/** List of players in this Region */
	ScriptableVector players;

	/** List of regions in this Region. */
	ScriptableVector regions;

    ServerRegion();
    virtual void bind(lua_State* luaState);
    virtual void push(lua_State* luaState);
};

#endif